import React, { Component } from 'react'

export default class Main extends Component {

  
    render() {
        return (
            <div>
                {/* 头部 */}

                {/* 轮播 */}

                {/* 最新动态 */}
                <div>最新动态</div>
                {/* 中部导航 */}
                <div>
                    <span>在线购票</span>
                    <span>线路查询</span>
                    <span>站点信息</span>
                    <span onClick={()=>this.props.history.push('/record')}>乘车记录</span>
                </div>
            </div>
        )
    }
}
